﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Krile.Kernel.Control;

namespace Twinkle.Controls
{
    public partial class ListArgSet : SDataArgSetUI
    {
        Searchs.SearchTwitterListedStatus target;
        public ListArgSet(Searchs.SearchTwitterListedStatus lsd)
        {
            target = lsd;
            InitializeComponent();
            ownerUserId.Text = lsd.ParentAccountId;
            listName.Text = lsd.ListId;
        }

        public override void Accepted()
        {
            target.ParentAccountId = ownerUserId.Text;
            target.ListId = listName.Text;
        }
    }
}
